package com.yangit.temp.common.entity;

import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;

@Component
@Profile("prod")
public class Student implements Person{
    @Override
    public void say() {
        System.err.println("我是学生");
    }
}